import { Transform } from 'class-transformer';
import { Util } from 'src/common/Util';

/*
 * @Author: jingfuu@163.com
 * @Date: 2024-11-26 10:51:53
 * @LastEditTime: 2024-11-26 13:05:36
 * @Description: 字典值
 */
class DictDataDto {
  dictCode: number;
  dictSort: number;
  dictLabel: string;
  dictValue: string;
  dictType: string;
  cssClass: string;
  listClass: string;
  isDefault: string;
  status: string;
  createBy: string;
  @Transform(({ value }) => Util.convertTimeStr(value))
  createTime: string;
  updateBy: string;
  @Transform(({ value }) => Util.convertTimeStr(value))
  updateTime: string;
  remark: string;
}
export default DictDataDto;
